class CreateHumbleReleasePolicies < ActiveRecord::Migration
  def change
    create_table :humble_release_policies do |t|
      t.integer :humble_site_id,         :null => false
      t.string  :property,        :null => false
      t.string  :type_identifier

      t.timestamps
    end
    add_index :humble_release_policies, [:humble_site_id, :property, :type_identifier], :name => :index_humble_release_policies, :unique => true
  end
end
